projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f483fd5
)
build: Remove 'name' kwarg from has_function calls
author
Timm Bäder
<mail@baedert.org>
Sat, 21 Apr 2018 17:30:12 +0000
(19:30 +0200)
committer
Timm Bäder
<mail@baedert.org>
Sat, 21 Apr 2018 17:30:12 +0000
(19:30 +0200)
They cause warnings with later meson versions.
gdk/meson.build
patch
|
blob
|
history
diff --git
a/gdk/meson.build
b/gdk/meson.build
index d562d6c84f0aada19abc70e128ba5919ad20307e..d801d7592a2c327288376d0fced5c9242f4f7e74 100644
(file)
--- a/
gdk/meson.build
+++ b/
gdk/meson.build
@@
-189,9
+189,9
@@
gdk_sources += [
]
if wayland_enabled or broadway_enabled
- if cc.has_function('shm_open'
, name : 'shm_open() in libc'
)
+ if cc.has_function('shm_open')
shmlib = []
- elif cc.has_function('shm_open', args : '-lrt'
, name : 'shm_open() in librt'
)
+ elif cc.has_function('shm_open', args : '-lrt')
shmlib = cc.find_library('rt')
else
shmlib = []